.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.login-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
  
  h2 {
    margin: 0 0 8px 0;
    color: #262626;
    font-size: 24px;
    font-weight: 600;
  }
  
  p {
    margin: 0;
    color: #8c8c8c;
    font-size: 14px;
  }
}

.login-form {
  .login-button {
    width: 100%;
    height: 40px;
    font-size: 16px;
    margin-top: 8px;
  }
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  
  a {
    color: #1890ff;
    text-decoration: none;
    
    &:hover {
      text-decoration: underline;
    }
  }
  
  .divider {
    margin: 0 8px;
    color: #d9d9d9;
  }
}

// 响应式设计
@media (max-width: 480px) {
  .login-form-wrapper {
    padding: 24px;
    margin: 16px;
  }
  
  .login-header h2 {
    font-size: 20px;
  }
}

// 表单项间距调整
:host ::ng-deep {
  .ant-form-item {
    margin-bottom: 16px;
  }
  
  .ant-form-item:last-of-type {
    margin-bottom: 0;
  }
  
  .ant-input {
    height: 40px;
    font-size: 14px;
  }
  
  .ant-form-item-label > label {
    font-weight: 500;
    color: #262626;
  }
}
